package com.qst.survey.test;

import com.github.houbb.sensitive.word.bs.SensitiveWordBs;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class 敏感词过滤测试 {

    @Test
    public void test(){
        final String text = "傻逼，脑残，习近平，网吧有个王八";
        String result = SensitiveWordBs.newInstance().replace(text);
        System.out.println(result);
    }

}
